public class sth {
    public static void main(String[] args) {
        String path = "123";
        String url = "14";
        System.out.println(path.indexOf(url));
    }
}
